import request from '@/utils/request'
// 查询总下单数
export function queryOrderCountByParam(query) {
    return request({
        url: '/order/service/getOrderCountByParam',
        method: 'post',
        data: query
    })
}


// 查询总下单金额
export function queryOrderAmountByParam(query) {
    return request({
        url: '/order/service/getOrderAmountByParam',
        method: 'post',
        data: query
    })
}

// 查询总接单金额
export function queryReceivePriceByParam(query) {
    return request({
        url: '/order/service/getReceivePriceByParam',
        method: 'post',
        data: query
    })
}

//   获取服务分类下拉列表
export function queryOrderCategoryList() {
    return request({
        url: '/order/service/getOrderCategoryList',
        method: 'get'
    })
}

// 根据服务类型分类显示热销服务排行top10

export function queryOrderCategoryTop10(query) {
    return request({
        url: '/order/service/getOrderCategoryTop10',
        method: 'post',
        data: query
    })
}
